import { legacy_createStore as createStore, applyMiddleware} from 'redux'
import thunk from 'redux-thunk';
import createLogger from 'redux-logger';
import rootReducer from './reducers'

export default createStore(
  rootReducer,
  applyMiddleware(thunk,createLogger())
)